package com.tao.plan.domain.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.tao.plan.common.serializer.LocalDateTimeDeserializer;
import com.tao.plan.common.serializer.LocalDateTimeSerializer;
import com.tao.plan.common.serializer.LongToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PMemoryDay {
	@JsonSerialize(using = LongToStringSerializer.class)
	private Long id;
	@JsonSerialize(using = LongToStringSerializer.class)
	private Long uid;
	private String title;
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	@JsonDeserialize(using = LocalDateTimeDeserializer.class)
	private LocalDateTime targetTime;
	private Integer type; // 0-公历, 1-农历
}
